package com.ruoyi.ade.mapper;

import java.util.List;
import com.ruoyi.ade.domain.AdeKnowledgeRecord;

/**
 * ADE KB RecordsMapper接口
 * 
 * @author wxh
 * @date 2025-07-07
 */
public interface AdeKnowledgeRecordMapper 
{
    /**
     * 查询ADE KB Records
     * 
     * @param id ADE KB Records主键
     * @return ADE KB Records
     */
    public AdeKnowledgeRecord selectAdeKnowledgeRecordById(Long id);

    /**
     * 查询ADE KB Records列表
     * 
     * @param adeKnowledgeRecord ADE KB Records
     * @return ADE KB Records集合
     */
    public List<AdeKnowledgeRecord> selectAdeKnowledgeRecordList(AdeKnowledgeRecord adeKnowledgeRecord);

    /**
     * 新增ADE KB Records
     * 
     * @param adeKnowledgeRecord ADE KB Records
     * @return 结果
     */
    public int insertAdeKnowledgeRecord(AdeKnowledgeRecord adeKnowledgeRecord);

    /**
     * 修改ADE KB Records
     * 
     * @param adeKnowledgeRecord ADE KB Records
     * @return 结果
     */
    public int updateAdeKnowledgeRecord(AdeKnowledgeRecord adeKnowledgeRecord);

    /**
     * 删除ADE KB Records
     * 
     * @param id ADE KB Records主键
     * @return 结果
     */
    public int deleteAdeKnowledgeRecordById(Long id);

    /**
     * 批量删除ADE KB Records
     *
     * @param baseId ADE KB Base主键
     * @return 结果
     */
    public int deleteAdeKnowledgeRecordByBaseId(Long baseId);

    /**
     * 批量删除ADE KB Records
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdeKnowledgeRecordByIds(Long[] ids);
}
